package com.yxe.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2022-12-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_house")
@ApiModel(value="House对象", description="")
public class House implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "房源id")
    @TableId(value = "house_id", type = IdType.AUTO)
    private Integer houseId;

    @ApiModelProperty(value = "名称")
    private String houseName;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "押金方式")
    private String depositMode;

    @ApiModelProperty(value = "状态（空闲，预定，入住）")
    private Integer condition;

    @ApiModelProperty(value = "类型")
    @TableField("type_oneOrTwo")
    private String typeOneortwo;

    @ApiModelProperty(value = "独卫")
    @TableField("type_bathRoom")
    private String typeBathroom;

    @ApiModelProperty(value = "地暖")
    private String typeHeating;

    @ApiModelProperty(value = "空闲房间")
    private Boolean freeRoom;


}
